home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
X User Tools
/
X User Tools (O'Reilly and Associates)(1994).ISO
/
sun4c
/
archive
/
plan.z
/
plan
/
man
/
cat1
/
plan.1
Wrap
Text File
|
1994-09-18
|
7KB
|
199 lines
PLAN(1L) PLAN(1L)
NAME
plan - interactive X/Motif calendar and day planner
pland - daemon for _p_l_a_n
notifier - X/Motif text displayer for _p_l_a_n
SYNOPSIS
ppllaann [-h] [-d] [-v] [-t [D]] [-s] [-f] [-k]
ppllaann [mmdd]hhmm [_m_e_s_s_a_g_e]*
ppllaanndd [-kK]
nnoottiiffiieerr [-hdv123] [-t_t_i_t_l_e] [-i_i_c_o_n_t_i_t_l_e] [file]
DESCRIPTION
ppllaann is a schedule planner based on X/Motif. It displays a month calendar
similar to xcal, but every day box is large enough to show appointments in
small print. By pressing on a day box, the appointments for that day can be
listed and edited. This manual page describes the command line options of
ppllaann. For information on how to use ppllaann, refer to the on-line help pages.
ppllaann has two modes: it starts up with a window in interactive mode if
started without date/time string; with date/time on the command line it
adds an appointment to the list. Only one interactive ppllaann per user can run
at any time.
ppllaanndd is a daemon that watches for appointment triggers. The daemon is nor-
mally started from your .sgisession or .xsession file. It puts itself in
the background. If ppllaann is started, it checks for the existence of the dae-
mon, and offers to start one if it can't find it.
nnoottiiffiieerr displays the standard input in a window, with appropriate titles
and background colors. The only program that ever uses it is the daemon; it
is a separate program only to keep the daemon small.
OPTIONS OF PLAN
--hh List available options.
--dd Print fallback X resources and exit. The output can be appended
directly to the ~/.Xdefaults file for modification of the geometry,
color, and font defaults.
--vv Print the program version and patchlevel and exit.
--tt [[DD]]
Print a list of today's appointments to stdout. Don't start up
interactive windows. The exit status is 0 if there are appointments on
the specified date, and 1 otherwise. If a date D is specified, print
appointments on that date. All standard date specifiers work:
--tt ++33 Print appointments in three days
--tt --11 Print yesterday's appointments
--tt ttoommoorrrrooww Print appointments for tomorrow
--tt tthhuurrssddaayy Print appointments for Thursday
--tt 2255..1122.. Print appointments for Christmas, if 24-hour mode is
selected
--tt 1122//2255 Print appointments for Christmas, if 12-hour mode is
selected. 12/24 hour mode is selected with the Config
pulldown in the main window.
--ss Standalone, don't offer to start daemon if none exists. Without dae-
mon, no appointment alarms and warnings will trigger. If a daemon hap-
pens to exist, it is notified when the database changes, but no warn-
ing is printed if it doesn't.
--ff Don't fork on startup. This is useful for debugging.
--kk If there appears to be another ppllaann running, start up anyway. This is
useful if a /tmp/.plan<uid> file got accidentally left behind, and
plan fails to check whether the older plan still exists. This option
is largely obsolete in version 1.2.
[[mmmmdddd]]hhhhmmmm [[mmeessssaaggee]]**
Add an appointment at mm/dd hh:mm (month/day hours:minutes). If mmdd
is not specified, today's date is used. The message, which should be
quoted if it contains shell metacharacters, is used as note string. No
menus will start up. No option may be specified.
OPTIONS OF PLAND
--kk If another daemon exists, kill it and restart.
--KK (cap-K) If another daemon exists, kill it and exit.
OPTIONS OF NOTIFIER
--hh List available options.
--dd Print fallback X resources and exit. The output can be appended
directly to the ~/.Xdefaults file for modification of the geometry,
color, and font defaults.
--vv Print the program version and patchlevel and exit.
--11 Set the window background color to green (early warning).
--22 Set the window background color to yellow (late warning).
--33 Set the window background color to red (alarm). This is the default.
--tt_t_i_t_l_e
Set the title string above the message text (which is read from
stdin).
--ii_i_c_o_n_t_i_t_l_e
Set the icon title string that is printed below the mwm/4Dwm icon.
In addition to these options, plan and notifier support the usual X options
-iconic and -geometry.
FILES
Below, DIR and LIB refer to the installation directories specified at the
beginning of the Makefile when the programs were compiled. Both are
/usr/local/bin by default. These are the directories where ppllaann and ppllaanndd
first search for executables and plan.help; next, $PLAN_PATH and $PATH are
searched, and finally, a built-in search path that also contains "." as its
last item.
~~//..ddaayyppllaann
Database with all public entries and configuration options of ppllaann.
See plan(4) for details.
~~//..ddaayyppllaann..pprriivv
Database with all private entries.
~~//..hhoolliiddaayy
Definition of holidays. See the help text for the "Define Holiday"
popup menu that can be installed with the Holiday pulldown.
//ttmmpp//..ppllaannUUIIDD
Lockfile that contains the PID of ppllaann. Used to prevent multiple ppllaann
instances, and to send HUP signals to if a non-interactive ppllaann invo-
cation changed the database. UID is the user's numerical user ID.
//ttmmpp//..ppllaannddUUIIDD
Lockfile that contains the PID of the ppllaanndd daemon. Used to prevent
multiple daemons, and to send HUP signals to if the database changed
for any reason. UID is the user's numerical user ID.
ppllaann
The ppllaann program.
LLIIBB//ppllaanndd
The ppllaanndd daemon. It must be in the BIN or LIB directory, or in one of
the directories in one of the search paths.
nnoottiiffiieerr
The nnoottiiffiieerr program. It must be in the BIN or LIB directory, or in
one of the directories in one of the search paths.
ppllaann..hheellpp
The online help texts used by ppllaann. It must be in the BIN or LIB
directory, or in one of the directories in one of the search paths.
AUTHOR
Thomas Driemeyer <thomas@bitrot.in-berlin.de>
Please send all complaints, comments, bug fixes, and porting experiences to
me. Always include your plan version as reported by "plan -v" in your mail.